#LoadingBar, .loading-content {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    box-sizing: border-box;
}

#LoadingBar {
    position: fixed;
    pointer-events: none;
    display: none;
    overflow: hidden;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

.loading-content {
    position: absolute;
    width: 4rem;
    height: 4rem;
    margin: auto;
    padding: 1rem;
    border-radius: 2px;
    text-align: center;
    background: rgba(0, 0, 0, 0.15);
}

.loading-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 2rem;
    border-left: 2px solid #1e90ff;
    border-top: 2px solid #1e90ff;
}

#LoadingBar.show {
    display: block;
}

.show .loading-icon {
    animation: rotate 500ms linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
